import { ApiProperty } from "@nestjs/swagger";
import { Comments } from "@prisma/client";

export class CommentEntity implements Comments {
    @ApiProperty()
    id: number;
    @ApiProperty()
    targetId: number;
    @ApiProperty()
    userId: number;
    @ApiProperty()
    parentId: number;
    @ApiProperty()
    content: string;
    @ApiProperty()
    status: boolean;
    @ApiProperty()
    createdAt: Date;
    @ApiProperty()
    updatedAt: Date;
    @ApiProperty()
    isDeleted: boolean;
    @ApiProperty()
    deletedAt: Date;
}
